package com.correo.vista.client.windows.event;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.beans.PropertyVetoException;

import com.correo.vista.client.windows.ventanasInternas.InternalFrameImpl;

public class ActionListenerItemMenuDinamico implements ActionListener{

	private InternalFrameImpl internalFrame;
	public ActionListenerItemMenuDinamico(InternalFrameImpl internalFrame){
		this.internalFrame = internalFrame;
	}
	public void actionPerformed(ActionEvent e) {
		try {
			internalFrame.setSelected(true);
		} catch (PropertyVetoException e1) {
			e1.printStackTrace();
		}

		
	}

}
